package com.neuedu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//药品缴费和取药时使用
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DrugVO {

    private Integer drugId;

    private String drugName;

    private Integer drugPrice;
    private Integer quantity;
    private Integer totalPrice;  //药品价格小计

    @JsonFormat(pattern="yyyy年MM月dd日 HH时mm分")
    private Date createTime;

    @JsonFormat(pattern="yyyy年MM月dd日 HH时mm分")
    private Date feeTime;
}